<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>Title</title>
    </head>
    <body>
        <div id="app">
            <label for="male">
                <input type="radio" id="male" name="sex" value="0" v-model="sex">男
            </label>
            <label for="female">
                <input type="radio" id="female" name="sex" value="1" v-model="sex">女
            </label>
        </div>
        <script src="../js/vue.js"></script>
        <script>
            const app = new Vue({
                el: '#app',
                data: {
                    sex: '1'
                }
            })
        </script>
    </body>
</html>